package top.xcxdl.rural.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.xcxdl.rural.entity.RuralArea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ding
 * @since 2022-05-17
 */
@Mapper
public interface RuralAreaMapper extends BaseMapper<RuralArea> {

    List<RuralArea> getList(@Param("key") String key);

    RuralArea getByAdCode(@Param("adCode") String adCode);
}
